﻿/* Reset
***************************************************************/
html, body { height:100%; }

html, body, #layout-content {
  background:#f3f4f5 url(../Content/mainBackground.gif) repeat-y top left;
}
html {
    color:#333;
}

body {
  color: #333; 
  font-family: Segoe UI,Trebuchet,Arial,Sans-Serif;
  line-height:1.6em;
  margin:0 auto;  
  min-width:74em; /* 946px */
  padding:0;
}

fieldset ol {
    list-style-type: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

#footer {
    width:100%;
}

#layout-content {
    /*overflow:auto;*/
    min-height:100%;
}
#layout-main {
    /*display:inline;
    overflow:auto;*/
    float:right;
    margin-left:-240px;
    width:100%;
    padding:0 0 70px 0; /*Bottom padding set to footer height*/
}
#main {
    margin: 20px 20px 0 260px;
}
.wrapper, .sections {
    overflow:hidden;
}
#footer {
    clear:both;
    height:70px;
    margin-top:-70px; /*Top margin set negative px of footer height*/
}

/* Header
************************************************************/
.select-language {
    display: block;
    float: right;
    margin: 5px;
}

/* Sign In Dialog
**************************************************************/
.sign-in {
    display: block;
    z-index: 9100;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
.sign-in * {
    font-family: Tahoma, 'Helvetica Neue', Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 14px;
    font-weight: normal;
}
.sign-in .container {
    width: 846px;
    height: auto;
    opacity: 1;
    overflow: visible;
    padding: 0;
    margin: 10% auto 0 auto;
    background-color: #333;
    color: #aaa;
}
.sign-in .user-left, .sign-in .user-right {
    float: left;
}
.sign-in .user-left img {
    width: 614px;
}
.sign-in .user-right {
    padding: 10px;
}
.sign-in .user-logon-guide {
    padding: 10px;
    background-color: #eee;
    color: #333;
    width: 614px;
}

.sign-in input[type=text], .sign-in input[type=password]  {
    width: 210px;
    margin-bottom: 20px;
}
.sign-in input[type="checkbox"] {
    margin: 2px 8px 0 0;
    display: inline-block;
}

.login-form {
    width: 212px;
}
.login-form legend {
    display: block;
    width: 100%;
    color: #28a9e0;
    border-bottom: 1px solid #aaa;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

/* Main menu
**************************************************************/
#main-menu {
    background:#323232;
    display:inline;
    float:left;
    position:relative;
    width:240px;
    color: #fff;
}
#main-menu ul {
    margin-left: 0;
    padding-left: 0;
}
#main-menu ul li {
    display: block;
}
#main-menu > ul > li > .text {
    padding: 10px 15px;
    background:#222;
    color: #31b990;
    font-size: 16px;
    display: block;
    border-bottom: 1px #444 solid;
}
#main-menu ul li .submenu a.menuitem {
    display: block;
    padding: 10px 0 10px 15px;
    font-size: 14px;
    background-color: #323232;
    color: #f5f1e8;
    border-bottom: 1px #4a4947 solid;
}
#main-menu ul li .submenu a.menuitem:hover, #main-menu ul li .submenu a.menuitem:active {
    text-decoration: none;
    background-color: #31B990;
}
#main-menu ul li .submenu a.currentPage {
    background-color: #31B990;
}
#main-menu i.guide {
    margin-right: 10px;
    display: none;
    float: right;
}
#main-menu ul li .submenu a.menuitem:hover i.guide, #main-menu ul li .submenu a.currentPage i.guide {
    display:block;
}

#main-menu i.icon {
    margin-right: 10px;
}
#main-menu i.icon:before {
    width: 14px;
    display: inline-block;
}
#profile {
    padding: 10px 0 10px 10px;
}
#profile a {
    color: #ddd;
}
#profile a span {
    display: block;
    float: left;
    padding: 10px;
    width: 140px;
    overflow: hidden;
}
#profile img {
    width: 64px;
    height: 64px;
    display: block;
    float:left;
}

#header {
    margin:0 0 0 240px;
}

#login {
    font-size: 18px; 
    width: 240px;
    height:50px;
    float:left;
}
#login a {
    width: 186px;
    white-space: nowrap;
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}
    #login a, #site a:visited, #site a:active {
        color: #fff;
        float: left;
        line-height: 50px;
        position: relative;
        -webkit-text-shadow: rgba(0,0,0,.9) 0 0 2px;
        text-shadow: rgba(0,0,0,.9) 0 0 2px;
    }

/* Content
***************************************************************/
#page-title {
    padding: 0;
    margin-bottom: 20px;
    -webkit-text-shadow: rgba(0,0,0,.1) 0 0 1px;
    text-shadow: rgba(0,0,0,.1) 0 0 1px;
}
#main #content {
    background-color: #fff;
    padding: 16px 24px;
    margin:8px 0 0 0;
    border: 1px solid #e4e5e6;
   
     /*CSS3 properties*/
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
     border-radius: 2px;
}

#main #content h1 {
    margin:0 0 1em;
}
#main h2, #main h3 {
    margin:.5em 0;
}
#main .main.actions {
    margin:0 0 1.4em;
}
#main .meta {
    margin:-.4em 0 .4em;
}
#main form.inline {
    margin:0;
}
#main ul h2 {
    border-bottom:0;
    margin:.2em 0;
}
#main ul h3 {
    margin:0 0 .2em;
}

#aside-content {
    float: right;
    width: 200px;
    background-color: #fff;
    padding: 16px 24px;
    margin:8px 0 0 0;
    border: 1px solid #e4e5e6;
   
     /*CSS3 properties*/
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
     border-radius: 2px;
}

#local-navigation {
    clear: both;
}

/* Confirmations, Messages and the like
***************************************************************/
.message, .validation-summary-errors {
    margin:10px 0 4px 0;
    padding:4px;
    clear:both;
}
#messages div.message {
    clear:both;
}
span.message {
    display:block;
    margin:4px 0 4px 4px;
}
.messages a {
    font-weight:bold;
}
/* todo: (heskew) what else (other inputs) needs this? */
.critical.message, .validation-summary-errors,
.input-validation-error.text-box, .input-validation-error.text {
    border:1px solid #990808;
}
.critical.message, .validation-summary-errors {
    background:#e68585; /* red */
    color:#fff;
}
.info { 
    background: url(images/info.gif) no-repeat 5px 5px #fff;
    border:1px solid #e4e8ee;  /* blue */
    padding-left:26px;
}
.message-Information, .notifications {
    background:#e6f1c9; /* green */
    border:1px solid #cfe493;
    color:#062232;
}
.message-Warning {
    background:#fdf5bc; /* yellow */
    border:1px solid #ffea9b;
}
.message-Error {
    background:#e68585; /* red */
    border:1px solid #990808;
    color:#fff;
}.debug.message {
    background:#eee;
    border:1px dashed #D2D6C6;
    color:#7a7a7a;
    margin:20px 0 14px 0;
}
.debug.message:before {
    content:"DEBUG » ";
}

/* Pager
***************************************************************/

.pager-footer { }
.page-size-options {
    float: left;
    padding-right: 40px;
    margin-left: auto;
}
html.dyn #submit-pager, html.dyn .apply-bulk-actions-auto { display:none; }
.pagination {

}
.pagination a {
    cursor: pointer;
}

/* Styles for books
***************************************************************/
.post-body {
    margin-right: 300px;
}
.post-body label {
    font-size: 16px;
}
.post-body-content {
    width: 100%;
    float: left;
}

.post-body-aside {
    float: right;   
    width: 280px;
    margin-right: -300px; 
    
}

.post-body .panel {
     margin: 10px 0;
     padding: 10px;
}

.post-body .panel .panel-title {
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 10px;
}
.panel .subpanel {
    float: left;
    margin-right: 15px;
}

.post-body .panel-simple {
    background-color: #fff;
    border: 1px solid #e4e5e6;
   
     /*CSS3 properties*/
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
     border-radius: 2px;
}
.post-body .panel-simple .panel-title {
    border-bottom: 1px solid #e4e5e6;
}
.image-container {
    position: relative;
    display: block;
    margin: 10px auto;
    width: 238px;
}

label input[type=radio] {    
    display: block;
    float: left;
    margin: 5px 10px 0 0;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: black;
    color: white;
    text-align: center;
    font-size: 16px;
    padding: 10px;
    opacity: 0.4;
    width: 238px;
}
.image-container:hover .image-overlay {
    opacity: 0.6;
}

img.book-cover-full, img.avatar-full {
    width: 238px;
    max-width: 238px;
}

.post-body-aside label {
    margin: 10px 10px 0 10px;
}

/* Popup - panel
***********************************************************/
.popup-panel {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 8000;
    background-color: transparent;
}
.popup-panel .overlay {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: #000;
    opacity: 0.4;
    z-index: 8001;
}
.popup-panel .horizon {
    background-color: transparent;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    overflow: visible;
    visibility: visible;
    display: block;
}
.popup-panel .horizon .panel-content {
    background-color: #fff;
    position: absolute;
    top: -300px;
    left: 50%;
    width: 600px;
    height: 600px;
    margin-left: -300px;
    opacity: 1;
    z-index: 8002;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    padding: 10px;
    
    -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}
.popup-panel .horizon .panel-content a.close {
    position:absolute;
    display: block;
    right: 0;
    top: 0;
    z-index: 8003;
    padding: 10px;
}

/* Tags
*************************************************/
.tags span a {
    cursor: pointer;
}
.tags a:hover, .tagCloud-tag a:hover {
    text-decoration: none;
}
.tags span {
    display: block;
    float: left;
    color: #3E6D8E;
    background-color: #E0EAF1;
    border-bottom: 1px solid #b3cee1;
    border-right: 1px solid #b3cee1;
    padding: 0 4px;
    margin: 2px 8px 2px 0;
    text-decoration: none;
    line-height: 2;
    white-space: nowrap;
    font-size: 11px;
}

.apprise-overlay {
	background-color: rgb(255,255,255);
	display: none;
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
}

div.apprise
{
    background: #fff;
    border: 1px solid #aaa;
    -mox-box-shadow: 0 2px 15px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0 2px 15px rgba(0,0,0,0.2);
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
    color: #111;
    display: none;
    font-family: Arial, sans-serif;
    font-size: 14px;
    left: 40%;
    max-height: 90%;
    overflow: hidden;
    position: fixed;
    top: -100%;
    width: 20%;
}

div.apprise .apprise-inner {
	padding: 20px;
}

div.apprise .apprise-input {
	margin-top: 10px;
	padding: 10px 0;
}

    div.apprise .apprise-input input
    {
        border: 1px solid rgba(0,0,0,0.3);
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
        border-radius: 2px;
        -mox-box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
        -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
        box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
        display: block;
        font-size: 13px;
        margin: 0 auto;
        padding: 5px 10px;
        width: 90%;
    }

div.apprise .apprise-input input:focus {
	border-color: #01AEF0;
	outline: none;
}

    div.apprise .apprise-buttons
    {
        background: #eee;
        border-top: 1px solid #aaa;
        -moz-box-shadow: inset 0 1px 0 #fff;
        -webkit-box-shadow: inset 0 1px 0 #fff;
        box-shadow: inset 0 1px 0 #fff;
        padding: 10px 20px;
        text-align: right;
    }
    div.apprise .apprise-buttons label {
        display: block;
        float: left;
    }

        div.apprise .apprise-buttons button
        {
            color: #111 !important;
            background: #ededed;
            border: 1px solid rgba(0,0,0,0.5);
            -moz-border-radius: 2px;
            -webkit-border-radius: 2px;
            border-radius: 2px;
            -mox-box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
            -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
            cursor: pointer;
            font-size: 13px;
            margin: 0 2px;
            overflow: hidden;
            padding: 5px 12px;
            -webkit-text-shadow: 0 1px 0 rgba(255,255,255,0.8);
            text-shadow: 0 1px 0 rgba(255,255,255,0.8);
        }

div.apprise .apprise-buttons button.blue {
	background: #01AEF0;
}

div.apprise .apprise-buttons button.red {
	background: #D23A30;
}

            div.apprise .apprise-buttons button.blue, div.apprise .apprise-buttons button.red
            {
                color: #fff !important;
                -webkit-text-shadow: 0 -1px 0 rgba(0,0,0,0.4);
                text-shadow: 0 -1px 0 rgba(0,0,0,0.4);
            }

            div.apprise .apprise-buttons button:hover
            {
                -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 1px 3px rgba(0,0,0,0.4);
                -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 1px 3px rgba(0,0,0,0.4);
                box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 1px 3px rgba(0,0,0,0.4);
            }

            div.apprise .apprise-buttons button:active
            {
                -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.8);
                -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.8);
                box-shadow: inset 0 1px 2px rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.8);
            }